package com.jinshan.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 该类是向前端展示数据的类
 */
@Data
public class SubjectVO {
    @ApiModelProperty(value = "课程id")
    private String id;
    @ApiModelProperty(value = "课程的名称")
    private String title;
    @ApiModelProperty(value = "课程包含的子课程")
    private List<SubjectVO> children = new ArrayList<>();
}
